package com.fangzhi.mobel.vo;

import com.fangzhi.utils.GlobalParam;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.util.StringUtils;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class    AfterListVo implements Serializable {

    private Long id;
    private int type;
    private double price;
    private double afterPrice;
    private String orderId;
    private String payTime;
    private String ctime;
    private String deptName;
    private String hotelName;
    private String imageCover;
    private String comments;
    private String belongTo;
    private String action;
    private String returnOrderNumber;
    private String returnStatus;
    private int priceType;
    private int lastPrice;



    public void setImageCover(String imageCover) {
        if (StringUtils.hasText(imageCover))
            this.imageCover = GlobalParam.IMAGE_URL + imageCover;
    }
}
